<?php

/**
 * @filename: index.php
 * @usage: Contain all of the non-promotion specific admin functions
 */

session_start();

if ($_SESSION['level'] < 10) {

	header('location: ../index.php');

}

require_once 'bootstrap.php';

$disp = new Display_Display;

$db = new Db_Database;

?>

<!DOCTYPE html>
<html>
<head>

<title><?php echo SITENAME ?> Toolbox</title>

<link rel="stylesheet" media="all" type="text/css" href="styles/style.css">

</head>
<body>

<div class="wrapper">

	<?php
	
		$disp->displayHeader($_SESSION['lob']);
	
	?>
	
	<div class="menu">
	
		<?php
		
			$disp->displayMenu();
		
		?>
	
	</div>
	
	<div class="content">
	
		<?php
		
			$exdis = new Display_Exdisplay($_GET['act']);
		
		?>
	
	</div>

</div>

</body>
</html>